package com.stockz.ui.swing.charting.display;

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;

import com.stockz.core.util.BarUtil.BarValueType;
import com.stockz.ui.swing.charting.util.UIChartingConstant.OVERLAY;
import com.stockz.ui.swing.charting.view.StockChartPanel;
import com.stockz.ui.swing.charting.view.StockRectangle;

public interface Displayable {
	public abstract String getFullName();
	public abstract String getShortName();
	public abstract String getDescription();
	public abstract OVERLAY getOverlay();
	public boolean isOverlappable();
	public void paint(Graphics2D g);
	public Object getConfiguration();
	public void setStockChartPanel(StockChartPanel stockChartPanel);
	public StockChartPanel getStockChartPanel();
	
	public StockRectangle getRectangle();
	public void setRectangle(StockRectangle rectangle);
	public void setColor(Color color);
	public Color getColor();
	public int getOrder();
	public void setOrder(int order);
	public Rectangle getEditRectangle();
	public void setEditRectangle(Rectangle rectangle);
	public Rectangle getRemoveRectangle();
	public void setRemoveRectangle(Rectangle rectangle);
	public BarValueType getBarValueType();
	public void setBarValueType(BarValueType barValueType);
	public abstract void refreshValues();
	
}
